{{ define "main" }}
{{ if not .Site.Params.deprecated }}
  {{ .Content }}
{{ else }}
<div class="section-index">
  {{ range where .Site.Pages "Section" "releases" }}
    {{ if not .IsNode }}
      <div class="entry">
        <h5><a href="{{ .RelPermalink }}">{{ .Title }}</a> {{ T "page_deprecated" }}</h5>
      </div>
    {{ end }}
  {{ end }}
</div>
{{ end }}
{{ end }}